<template>
    <div class="page">
        <!-- 标题文本组件 -->
        <TitleText/>
        <!-- 文本段落 -->
        <main class="paragraph">
            <!-- 欢迎词 -->
            <span class="welcome">
                Welcome to the NALIIC Database!
            </span>
            <!-- 程序简介组件 -->
            <Introduce/>
        </main>
    </div>
</template>

<script lang="ts" setup>
// 导入标题文本组件
import TitleText from '../components/TitleText.vue';
// 导入程序简介组件
import Introduce from '../components/Introduce.vue';
</script>

<style lang="scss" scoped>
/* 页面布局 */
.page{
    display:flex;
    flex-direction: column;
    align-items: center;
}
/* 欢迎文本样式 */
.welcome{
    font-size:4.5vh;
    font-weight: bold;
    font-style:italic;
    color:white;
}
/* 段落布局样式 */
.paragraph{
    width:91vw;
    text-align:justify;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height:70vh;
    background-color: transparentize($color: grey, $amount: 0.2);
    padding-left:2vw;
    padding-right:2vw;
    border-radius: 1vw;
}
</style>
